/**
 * 
 */
package data;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @author Seb
 *
 */
public class Alerte implements Serializable{
	private static final long serialVersionUID = 81346723535L;
	private int idAlerte;
	private String typeAlerte;
	private String labelAlerte;
	private String cheminAlerte;
	private long tempAlerte;
	private int typechrono;
	private boolean statu;
	
	public boolean isStatu() {
		return statu;
	}

	public void setStatu(boolean statu) {
		this.statu = statu;
	}

	public int getTypechrono() {
		return typechrono;
	}

	public void setTypechrono(int typechrono) {
		this.typechrono = typechrono;
	}
	private ArrayList<Utilisateur> listUtilisateur = new ArrayList<Utilisateur>();
	
	public Alerte() {
		super();
	}

	public ArrayList<Utilisateur> getListUtilisateur() {
		return listUtilisateur;
	}

	public void setListUtilisateur(ArrayList<Utilisateur> listUtilisateur) {
		this.listUtilisateur = listUtilisateur;
	}

	public Alerte(int idAlerte, String typeAlerte, String labelAlerte, String cheminAlerte) {
		super();
		this.idAlerte = idAlerte;
		this.typeAlerte = typeAlerte;
		this.labelAlerte = labelAlerte;
		this.cheminAlerte = cheminAlerte;
	}
	
	public Alerte(String typeAlerte, String labelAlerte, String cheminAlerte,long tempAlerte, int typechrono,boolean statu) {
		super();
		this.typeAlerte = typeAlerte;
		this.labelAlerte = labelAlerte;
		this.cheminAlerte = cheminAlerte;
		this.tempAlerte = tempAlerte;
		this.typechrono = typechrono;
		this.statu = statu;
	}
	
	public Alerte(String typeAlerte, String labelAlerte, String cheminAlerte,long tempAlerte, int typechrono) {
		super();
		this.typeAlerte = typeAlerte;
		this.labelAlerte = labelAlerte;
		this.cheminAlerte = cheminAlerte;
		this.tempAlerte = tempAlerte;
		this.typechrono = typechrono;
	}
	
	public long getTempAlerte() {
		return tempAlerte;
	}

	public void setTempAlerte(long tempAlerte) {
		this.tempAlerte = tempAlerte;
	}


	/**
	 * @return the idAlerte
	 */
	public int getIdAlerte() {
		return idAlerte;
	}
	/**
	 * @param idAlerte the idAlerte to set
	 */
	public void setIdAlerte(int idAlerte) {
		this.idAlerte = idAlerte;
	}
	/**
	 * @return the typeAlerte
	 */
	public String getTypeAlerte() {
		return typeAlerte;
	}
	/**
	 * @param typeAlerte the typeAlerte to set
	 */
	public void setTypeAlerte(String typeAlerte) {
		this.typeAlerte = typeAlerte;
	}
	/**
	 * @return the labelAlerte
	 */
	public String getLabelAlerte() {
		return labelAlerte;
	}
	/**
	 * @param labelAlerte the labelAlerte to set
	 */
	public void setLabelAlerte(String labelAlerte) {
		this.labelAlerte = labelAlerte;
	}
	/**
	 * @return the cheminAlerte
	 */
	public String getCheminAlerte() {
		return cheminAlerte;
	}
	/**
	 * @param cheminAlerte the cheminAlerte to set
	 */
	public void setCheminAlerte(String cheminAlerte) {
		this.cheminAlerte = cheminAlerte;
	}
	
	
	
}
